package edu.pku.sei.act.model.mote;

import edu.pku.sei.act.model.common.ArchiModelConst;
import edu.pku.sei.gmp.model.concept.GMPModelElement;
import edu.pku.sei.gmp.model.util.GMPTypedList;
import edu.pku.sei.gmp.properties.annotation.GMPAnnotation;

public class Task extends OuterModelElement {


	@GMPAnnotation(
			id = "edu.pku.sei.act.model.Task.TASK_ACTION",
			name = ArchiModelConst.TASK_ACTION,
			category = "Model",
			getter = "getAction",
			setter = "setAction",
			visible = true,
			serialize = true,
			reference = false
			)
	private GMPTypedList<Action> action = new GMPTypedList<Action>(
				ArchiModelConst.TASK_ACTION, GMPTypedList.BAG, this, Action.class, true);
	private String name;
	


	public GMPTypedList<Action> getAction() {
		return action;
	}
	
	public void setAction(GMPTypedList<Action> TASK_ACTION) {
		this.action = TASK_ACTION;
	}
	public void setName(String name){
		this.name = name;
	}
	
	public String getName(){
		return this.name;
	}

}